package lab02.test04;

public class Test04 {
    public static void main(String[] args) {
        Employee employee01 = new Employee("张三", 001,
                2000, 1200);
        Employee employee02 = new Employee("李四", 002,
                2000, 1520);

        System.out.println("第一位员工：");
        System.out.println("姓名：" + employee01.getName());
        System.out.println("ID:" + employee01.getNumber());
        System.out.println("基本工资：" + employee01.getSalary());
        System.out.println("增长率%：" + employee01.percent());
        System.out.println("总工资:" + employee01.total());

        System.out.println("第二位员工：");
        System.out.println("姓名：" + employee02.getName());
        System.out.println("ID:" + employee02.getNumber());
        System.out.println("基本工资：" + employee02.getSalary());
        System.out.println("增长率%：" + employee02.percent());
        System.out.println("总工资:" + employee02.total());


    }
}
